Routines (alphabetical) > Routines: C > CDF Routines > CDF_EPOCH_TOJULDAYS

CDF_EPOCH_TOJULDAYS

The CDF_EPOCH_TOJULDAYS function converts CDF epoch values in CDF_EPOCH, CDF_EPOCH16 or CDF_TIME_TT2000 data type to Julian days. This function is similar to the IDL JULDAY function.

Syntax

Result = CDF_EPOCH_TOJULDAYS(EPOCH [, /STRING])

Arguments

Epoch

An epoch value returned from CDF_EPOCH /compute, CDF_EPOCH16, /compute, CDF_VARGET or CDF_VARGET1.

Keywords

STRING

Set this keyword to return the dates as a string in ISO 8601 format.

Examples

CDF_VARGET, id, "Epoch", epoch, REC_COUNT=1000,/ZVARIABLE

ret = CDF_EPOCH_TOJULDAYS (epoch)

ret2 = CDF_EPOCH_TOJULDAYS (epoch, /string)

Version History

 

CDF 3.4.0

Introduced

See Also

CDF_EPOCH, CDF_EPOCH16, CDF_TT2000